package com.ruoyi.news.service.impl;

import java.util.List;

import com.ruoyi.news.domain.Status;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.news.mapper.SysNewsStatusMapper;
import com.ruoyi.news.service.ISysNewsStatusService;


@Service
public class SysNewsStatusServiceImpl implements ISysNewsStatusService
{
    @Autowired
    private SysNewsStatusMapper sysNewsStatusMapper;

    @Override
    public List<Status> selectNewsStatusList() {
        // 调用 Mapper 层查询数据库
        return sysNewsStatusMapper.selectNewsStatusList();
    }

}
